#pragma once

#include "DX include.h"
#include "SpriteList.h"
#include "LostVector.h"
#include "Structures.h"

class DirectXFramework
{
private:
	D3DPRESENT_PARAMETERS	d3dpp;
	LPDIRECT3D9             pD3D;
	LPDIRECT3DDEVICE9       pd3dDevice;
	LPDIRECT3DVERTEXBUFFER9 vertexBuffer;
private:
	ID3DXSprite* sprite;
private:
	SpriteList spriteList;
private:
	bool fullscreen;
public:
	DirectXFramework();
	~DirectXFramework();
	void ToggleFullScreen();
	void Render(LostVector<DrawStruct>*);
	LPDIRECT3DDEVICE9 getDevice(){return pd3dDevice;}
};